package com.lww.springcloudapi.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式编程
@ApiModel(value = "TabHallUserpayment对象", description = "缴费记录实体")
public class TabHallUserpayment implements Serializable {
    @ApiModelProperty(value = "账单id")
    @TableId("id")
    private int id; //id
    @ApiModelProperty(value = "缴费电话")
    @TableField("pnumber")
    private String pnumber; //缴费电话
    @ApiModelProperty(value = "缴费金额")
    @TableField("paymentamount")
    private Double paymentamount; //缴费金额
    @ApiModelProperty(value = "缴费方式")
    @TableField("paymentmethod")
    private String paymentmethod; //缴费方式
    @ApiModelProperty(value = "缴费时间")
    @TableField("paymenttime")
    private Date paymenttime;//缴费时间
}
